TGT_FILE="\
LibTmaxCli.c \
LibTmaxCli_Conn.c \
sample_cli.c \
mkall.sh
"

TGT_DIR1=/user/sbha/powerframe/TmaxCli

function getsrc
{

echo -- target : $1
ftp -n <<!
open $1 63205
user $2 $3
bi
pwd
prompt
cd $TGT_DIR1
mget ${TGT_FILE}
bye

!
}

function dstr
{

echo -- target : $1
ftp -n <<!
open $1 63205
user $2 $3
pwd
prompt
cd $TGT_DIR1
mput ${TGT_FILE}
bye

!
}

echo $TGT_FILE
#getsrc 10.55.2.160 mhub01 fckcs24
#getsrc 10.55.2.140 mhub01 team01
getsrc 211.236.173.214 sbha ha7934

#dstr 10.55.2.160 mhub01 fckcs24
#dstr 10.55.2.161 mhub01 fckcs24
#dstr 10.55.2.140 mhub01 team01
#dstr 10.55.2.141 mhub01 team01
#dstr 10.55.2.130 mhub01 fckcs24
#dstr 10.55.2.131 mhub01 fckcs24
